projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0895d6
)
treeview: center expander allocated space
author
Cosimo Cecchi
<cosimoc@gnome.org>
Sat, 23 Feb 2013 00:53:03 +0000
(19:53 -0500)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Fri, 1 Mar 2013 18:55:05 +0000
(13:55 -0500)
This patch centers the expander in the extra space allocated by the
horizontal-separator style property.
https://bugzilla.gnome.org/show_bug.cgi?id=650424
gtk/gtktreeview.c
patch
|
blob
|
history
diff --git
a/gtk/gtktreeview.c
b/gtk/gtktreeview.c
index abde2677cd7b22d05edc7436e0e5a1279d224e61..505f41b588eca0e786c522e7b97655ae0de34240 100644
(file)
--- a/
gtk/gtktreeview.c
+++ b/
gtk/gtktreeview.c
@@
-9274,6
+9274,7
@@
gtk_tree_view_get_arrow_xrange (GtkTreeView *tree_view,
total_width += gtk_tree_view_column_get_width (tmp_column);
}
+ x_offset += (expander_size - expander_render_size);
if (indent_expanders)
{